<?php
    require ( 'init.inc.php' );
    require ( 'checkadmin.inc.php');
    require ( __COMM_PATH . 'pagecontrol.inc.php' );
    require ( __CLASS_PATH . 'page_list.class.php' );
	$plist = new PageList();
	
    // -------------------------------------------------------
    // 接收传递过来的变量
    // -------------------------------------------------------
    $id = intval($_GET["id"]);
	
	
	// -------------------------------------------------------
    // 页面基本设置
    // -------------------------------------------------------
	show_page_head("list",$page_title);
	$plist->RowName = "join";
    $plist->Execute("select * from `{$tablepre}join` where `id`={$id}");
	$plist->TplParse();

    // -------------------------------------------------------
    // 模板解析
    // -------------------------------------------------------
	
    $tpl->display("join_list_detail.html");
    show_page_foot();
    $db->close();
?>